500
Agreeing to cooperate under a new government, the colonies gave up some of their independence.
This is the participial phrase (phrase containing the present participial verb) of this sentence.
What is "agreeing to cooperate under a new government"?